package com.hssy.wululuaplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统用户Token
 * </p>
 *
 * @author Mr.Hongtao
 * @since 2025-06-18
 */
@Getter
@Setter
@TableName("sys_user_token")
@ApiModel(value = "SysUserToken对象", description = "系统用户Token")
public class SysUserToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("用户token")
    @TableField("token")
    private String token;

    @ApiModelProperty("过期时间")
    @TableField("expire_date")
    private Date expireDate;



    @ApiModelProperty("创建时间")
    @TableField("create_date")
    private Date createDate;

    @ApiModelProperty("更新时间")
    @TableField("update_date")
    private Date updateDate;


}
